#!/bin/bash

# 更新系统
echo "更新系统..."
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -y

# 安装编译环境和依赖包
echo "安装编译环境和依赖包..."
sudo apt install -y git cmake build-essential libssl-dev uuid-dev zlib1g-dev
# 安装 nanomsg
echo "Installing nanomsg..."
sudo apt install -y libnanomsg-dev
# 安装 rapidjson
echo "Installing rapidjson..."
sudo apt install -y rapidjson-dev